package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Menu;

public interface MenuMapper {

	public int deleteMenuById(long id);

	public Menu selectMenuById(long id);

	public List<Menu> selectMenuByMap(Map<String,Object> map);

	public List<Menu> selectMenu(Menu menu);

	public List<Menu> selectAllMenu();

	public int insertMenu(Menu menu);

	public int updateMenu(Menu menu);

	public int deleteMenu(Menu menu);

	public int updateMenuByMap(Map<String,Object> map);

	public int deleteMenuByMap(Map<String,Object> map);
	public int getAllMenuCounts();
	public int getMenuCounts(Menu menu);
	public int getMenuCountsByMap(Map<String,Object> map);
}
